home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir29 / lotto82.zip / LOTTO.DOC < prev    next >
Text File  |  1994-10-14  |  7KB  |  199 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                         Lotto
  9.           =================================================================
  10.  
  11.                This lotto program supports a 49 number lotto system as used
  12.           by the State of Washington. Works for any lotto using 49 numbers,
  13.           six picks, no free, alternates, etc.
  14.  
  15.                I  wrote this program because I have had some numbers picked
  16.           by the Washington  State computer that  each line's numbers  were
  17.           almost sequential with the previous line's numbers. Example:
  18.  
  19.                                    3 12 17 24 36 40
  20.                                    5 14 18 27 39 42
  21.  
  22.                Or whatever. I  believe the above  problem with the  State's
  23.           computer was that  the computer  was very busy  being fed  number
  24.           requests  from  all  over  the state.  Normally  these  printouts
  25.           (computer picks) are done almost instantaneously, but on the case
  26.           in question there were many seconds  between each line. I am sure
  27.           the computer was picking  totally random picks and that  my picks
  28.           just came out as in the example because other numbers were picked
  29.           between  my lines. It upset me  so I wrote this  program to do my
  30.           own picking. I think my  computer is just as good as  any State's
  31.           computer. (grin)
  32.  
  33.                Earlier versions  were written  using QuickBASIC 3.0,  which
  34.           required the  presence of  Microsoft's BRUN30.EXE. I  rewrote the
  35.           program using Turbo Pascal  5.5. Version 7.10+ has been  compiled
  36.           with Turbo Pascal 7.0, which is somewhat smaller and faster. Also
  37.           said  'Public Domain' which has now been changed to 'Freeware' to
  38.           show  that I  retain the  copyrights but  that no  registration /
  39.           donation fee  is sought or  required. Any funds  sent in  will be
  40.           appreciated and accepted, but not required.
  41.  
  42.                Apostrophes are used in this documentation for high lighting
  43.           purposes only and are not required for use in the program or from
  44.           the DOS prompt.
  45.  
  46.                To  start  the  program  type  in either  of  the  following
  47.           commands at the DOS prompt:
  48.  
  49.                                'LOTTO' or 'LOTTO SOUND'
  50.  
  51.                Typing in just 'Lotto' starts  the program with the  default
  52.           Sound Off. Using 'Lotto Sound' starts the program with Sound On.
  53.           If you do use  the 'LOTTO SOUND' option  the Sound On/Off  inside
  54.           the program still works the same.
  55.  
  56.                The program  is pretty  straight forward: It  randomly picks
  57.           six numbers for each of ten lines, one complete set. No number in
  58.           any  one row is duplicated.  The numbers are  displayed in sorted
  59.           order and the main prompt is displayed.
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.                Another set <Y>es, <N>o, <P>rint, <I>nfo, <S>ound On/Off
  74.  
  75.                Main Prompt choices,  upper or lower case,  are: Another set
  76.           press 'Y'.  If you don't want  another set press 'N'  to exit the
  77.           program.  Print  out  the  currently  displayed  set  press  'P'.
  78.           Information on the author or the program press 'I'. Turn sound On
  79.           or Off press 'S'.
  80.  
  81.                I added the  Sound On/Off  feature for those  who might  not
  82.           like any  sounds on their computer,  or if they run  a program at
  83.           work they  might not want  to draw attention to  it. Others might
  84.           have a sleeping spouse,  mother or father,  etc. On my Pro  Audio
  85.           Studio 16  sound card the PC  speaker also comes  out through the
  86.           sound card's speakers. So I opt for sound off myself from time to
  87.           time. 
  88.  
  89.                The program randomly  picks two lines from  each set marking
  90.           each with '>>'. On a color these two lines are red  and on a mono
  91.           system you must  watch for the  '>>' at the  start of the  lines.
  92.           These  two lines are the computer's pick for the Washington State
  93.           two picks for $1.
  94.  
  95.                Using the print option  puts five full (10 picks  each) sets
  96.           of lotto  numbers on a page.  In  Washington State a  full set is
  97.           one full card for $5. This is two picks for $1. 
  98.  
  99.                Your printer should  be set  to IBM characters  since I  use
  100.           extended IBM graphic characters  to make lines on the  screen. If
  101.           your  printer is  not set  for IBM  you will  get odd  letters or
  102.           characters  instead  of  lines.  If  you are  using  a  PC  or PC
  103.           compatible computer your printer  should be set to IBM  either by
  104.           dip  switch or software setup.  That is if  your printer supports
  105.           IBM characters/emulation and most newer printers do.
  106.  
  107.                Print  out is the same  but here '<<<' at  the end of a line
  108.           designates the two picks  made by the computer. You can use these
  109.           or ignore  them. If  you are  using this  program for  other than
  110.           Washington State you can ignore the computer's double picks.
  111.  
  112.                To get 5 sets  per pages just keep pressing  'Y' for another
  113.           set and then 'P' to  print. You can print out as many sets as you
  114.           want printing out only the sets you choose. My wife likes to pick
  115.           various  lines that might look  like good numbers  rather than to
  116.           let the Washington State Lotto computer do the picking.
  117.  
  118.                If there is a printer error, like not turned on, the program
  119.           halts and prompts you  to press a key. This  pause is to let  you
  120.           turn the printer on if  you have forgotten or if you  pressed 'P'
  121.           by mistake  and do not have  a printer. After pressing  a key the
  122.           Main Prompt  returns and if need-be you  can press 'P' again. The
  123.           lotto picks on the screen remain the same.
  124.  
  125.                If you have done printing while in the program and have done
  126.           less than 5 sets the  program does a form feed when  exiting. For
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.           those of you who do not like this feature I am sorry, but if I do
  140.           a print out I have to form feed manually to get my printout.
  141.  
  142.                I would enjoy hearing from you about your likes, dislikes or
  143.           suggestions on any of my programs. I am  user friendly! Feel free
  144.           to contact me if you have any problems or questions. When writing
  145.           please include a  self addressed stamped  envelope (SASE) if  you
  146.           want a reply.
  147.  
  148.                         James H. Huckabey
  149.                         3621-A Fraser Street
  150.                         Bellingham, WA 98226-2473 U.S.A.
  151.                         (206) 671-2868 (voice, Pacific)
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.